[INFO] cloning repository https://github.com/johanot/rcards
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/johanot/rcards" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjohanot%2Frcards", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjohanot%2Frcards'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 380da7a117e291747c31d8361054695a8ee36b9c
[INFO] building johanot/rcards against master#881c1ac408d93bb7adaa3a51dabab9266e82eee8 for issue-85264
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjohanot%2Frcards" "/workspace/builds/worker-1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/johanot/rcards on toolchain 881c1ac408d93bb7adaa3a51dabab9266e82eee8
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/johanot/rcards
[INFO] finished tweaking git repo https://github.com/johanot/rcards
[INFO] tweaked toml for git repo https://github.com/johanot/rcards written to /workspace/builds/worker-1/source/Cargo.toml
[INFO] crate git repo https://github.com/johanot/rcards already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded image v0.23.3
[INFO] [stderr]   Downloaded png v0.16.2
[INFO] [stderr]   Downloaded piston_window v0.107.0
[INFO] [stderr]   Downloaded piston2d-sprite v0.59.0
[INFO] [stderr]   Downloaded xml-rs v0.8.1
[INFO] [stderr]   Downloaded pistoncore-sdl2_window v0.63.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] fb5a4a56fbb0dbe599819ba34cc0e0aa2c10a2f0cb62fdcd2db6b026377bf8c8
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "fb5a4a56fbb0dbe599819ba34cc0e0aa2c10a2f0cb62fdcd2db6b026377bf8c8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "fb5a4a56fbb0dbe599819ba34cc0e0aa2c10a2f0cb62fdcd2db6b026377bf8c8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "fb5a4a56fbb0dbe599819ba34cc0e0aa2c10a2f0cb62fdcd2db6b026377bf8c8", kill_on_drop: false }`
[INFO] [stdout] fb5a4a56fbb0dbe599819ba34cc0e0aa2c10a2f0cb62fdcd2db6b026377bf8c8
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 000d1b49e8b093be2df4537625149588323757bd4340aeb5543cd9c8edb02aed
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "000d1b49e8b093be2df4537625149588323757bd4340aeb5543cd9c8edb02aed", kill_on_drop: false }`
[INFO] [stderr]    Compiling cfg-if v0.1.10
[INFO] [stderr]    Compiling autocfg v1.0.0
[INFO] [stderr]    Compiling libc v0.2.68
[INFO] [stderr]    Compiling xml-rs v0.8.1
[INFO] [stderr]    Compiling bitflags v1.2.1
[INFO] [stderr]    Compiling log v0.4.8
[INFO] [stderr]    Compiling lazy_static v1.4.0
[INFO] [stderr]    Compiling khronos_api v3.1.0
[INFO] [stderr]    Compiling maybe-uninit v2.0.0
[INFO] [stderr]    Compiling scopeguard v1.1.0
[INFO] [stderr]    Compiling proc-macro2 v1.0.10
[INFO] [stderr]    Compiling unicode-xid v0.1.0
[INFO] [stderr]    Compiling piston-float v1.0.0
[INFO] [stderr]    Compiling unicode-xid v0.2.0
[INFO] [stderr]    Compiling cc v1.0.50
[INFO] [stderr]    Compiling arrayvec v0.5.1
[INFO] [stderr]    Compiling semver-parser v0.7.0
[INFO] [stderr]    Compiling syn v1.0.17
[INFO] [stderr]    Compiling serde v1.0.106
[INFO] [stderr]    Compiling rand_core v0.4.2
[INFO] [stderr]    Compiling adler32 v1.0.4
[INFO] [stderr]    Compiling nix v0.14.1
[INFO] [stderr]    Compiling rayon-core v1.7.0
[INFO] [stderr]    Compiling piston-graphics_api_version v0.2.0
[INFO] [stderr]    Compiling void v1.0.2
[INFO] [stderr]    Compiling pkg-config v0.3.17
[INFO] [stderr]    Compiling downcast-rs v1.1.1
[INFO] [stderr]    Compiling lzw v0.10.0
[INFO] [stderr]    Compiling either v1.5.3
[INFO] [stderr]    Compiling same-file v1.0.6
[INFO] [stderr]    Compiling color_quant v1.0.1
[INFO] [stderr]    Compiling xdg v2.2.0
[INFO] [stderr]    Compiling piston-texture v0.8.0
[INFO] [stderr]    Compiling bytemuck v1.2.0
[INFO] [stderr]    Compiling read_color v1.0.0
[INFO] [stderr]    Compiling scoped_threadpool v0.1.9
[INFO] [stderr]    Compiling getrandom v0.1.14
[INFO] [stderr]    Compiling interpolation v0.2.0
[INFO] [stderr]    Compiling percent-encoding v2.1.0
[INFO] [stderr]    Compiling sdl2 v0.32.2
[INFO] [stderr]    Compiling piston-shaders_graphics2d v0.3.1
[INFO] [stderr]    Compiling ppv-lite86 v0.2.6
[INFO] [stderr]    Compiling find_folder v0.3.0
[INFO] [stderr]    Compiling rand_pcg v0.1.2
[INFO] [stderr]    Compiling rand_chacha v0.1.1
[INFO] [stderr]    Compiling rand v0.6.5
[INFO] [stderr]    Compiling lock_api v0.3.3
[INFO] [stderr]    Compiling sdl2-sys v0.32.6
[INFO] [stderr]    Compiling piston-viewport v1.0.0
[INFO] [stderr]    Compiling vecmath v1.0.0
[INFO] [stderr]    Compiling rand_core v0.3.1
[INFO] [stderr]    Compiling rand_jitter v0.1.4
[INFO] [stderr]    Compiling inflate v0.4.5
[INFO] [stderr]    Compiling miniz_oxide v0.3.6
[INFO] [stderr]    Compiling walkdir v2.3.1
[INFO] [stderr]    Compiling shader_version v0.6.0
[INFO] [stderr]    Compiling gif v0.10.3
[INFO] [stderr]    Compiling proc-macro2 v0.4.30
[INFO] [stderr]    Compiling crc32fast v1.2.0
[INFO] [stderr]    Compiling rand_isaac v0.1.1
[INFO] [stderr]    Compiling rand_xorshift v0.1.1
[INFO] [stderr]    Compiling rand_hc v0.1.0
[INFO] [stderr]    Compiling semver v0.9.0
[INFO] [stderr]    Compiling stb_truetype v0.3.1
[INFO] [stderr]    Compiling deflate v0.8.4
[INFO] [stderr]    Compiling smallvec v0.6.13
[INFO] [stderr]    Compiling draw_state v0.8.0
[INFO] [stderr]    Compiling rustc_version v0.2.3
[INFO] [stderr]    Compiling gl_generator v0.13.1
[INFO] [stderr]    Compiling gl_generator v0.10.0
[INFO] [stderr]    Compiling gl_generator v0.14.0
[INFO] [stderr]    Compiling png v0.16.2
[INFO] [stderr]    Compiling gfx_core v0.9.2
[INFO] [stderr]    Compiling num-traits v0.2.11
[INFO] [stderr]    Compiling crossbeam-utils v0.7.2
[INFO] [stderr]    Compiling memoffset v0.5.4
[INFO] [stderr]    Compiling num-integer v0.1.42
[INFO] [stderr]    Compiling crossbeam-epoch v0.8.2
[INFO] [stderr]    Compiling num-iter v0.1.40
[INFO] [stderr]    Compiling num-rational v0.2.4
[INFO] [stderr]    Compiling tiff v0.4.0
[INFO] [stderr]    Compiling quote v1.0.3
[INFO] [stderr]    Compiling quote v0.6.13
[INFO] [stderr]    Compiling x11-dl v2.18.5
[INFO] [stderr]    Compiling parking_lot_core v0.6.2
[INFO] [stderr]    Compiling parking_lot v0.9.0
[INFO] [stderr]    Compiling wayland-scanner v0.21.13
[INFO] [stderr]    Compiling libloading v0.5.2
[INFO] [stderr]    Compiling num_cpus v1.12.0
[INFO] [stderr]    Compiling memmap v0.7.0
[INFO] [stderr]    Compiling raw-window-handle v0.3.3
[INFO] [stderr]    Compiling shared_library v0.1.9
[INFO] [stderr]    Compiling rand_os v0.1.3
[INFO] [stderr]    Compiling rand v0.4.6
[INFO] [stderr]    Compiling osmesa-sys v0.1.2
[INFO] [stderr]    Compiling rand_core v0.5.1
[INFO] [stderr]    Compiling crossbeam-queue v0.2.1
[INFO] [stderr]    Compiling rand_chacha v0.2.2
[INFO] [stderr]    Compiling approx v0.3.2
[INFO] [stderr]    Compiling ordered-float v1.0.2
[INFO] [stderr]    Compiling line_drawing v0.7.0
[INFO] [stderr]    Compiling gfx_gl v0.6.1
[INFO] [stderr]    Compiling glutin_glx_sys v0.1.6
[INFO] [stderr]    Compiling glutin_egl_sys v0.1.4
[INFO] [stderr]    Compiling crossbeam-deque v0.7.3
[INFO] [stderr]    Compiling dlib v0.4.1
[INFO] [stderr]    Compiling rusttype v0.8.2
[INFO] [stderr]    Compiling rand v0.7.3
[INFO] [stderr]    Compiling wayland-sys v0.21.13
[INFO] [stderr]    Compiling gfx v0.18.2
[INFO] [stderr]    Compiling num v0.1.42
[INFO] [stderr]    Compiling gl v0.11.0
[INFO] [stderr]    Compiling rusttype v0.7.9
[INFO] [stderr]    Compiling piston2d-graphics v0.36.0
[INFO] [stderr]    Compiling andrew v0.2.1
[INFO] [stderr]    Compiling uuid v0.6.5
[INFO] [stderr]    Compiling rayon v1.3.0
[INFO] [stderr]    Compiling wayland-client v0.21.13
[INFO] [stderr]    Compiling wayland-protocols v0.21.13
[INFO] [stderr]    Compiling serde_derive v1.0.106
[INFO] [stderr]    Compiling jpeg-decoder v0.1.18
[INFO] [stderr]    Compiling image v0.23.3
[INFO] [stderr]    Compiling wayland-commons v0.21.13
[INFO] [stderr]    Compiling piston-gfx_texture v0.41.0
[INFO] [stderr]    Compiling piston2d-opengl_graphics v0.72.0
[INFO] [stderr]    Compiling gfx_device_gl v0.16.2
[INFO] [stderr]    Compiling piston2d-gfx_graphics v0.68.0
[INFO] [stderr]    Compiling smithay-client-toolkit v0.4.6
[INFO] [stderr]    Compiling pistoncore-input v0.28.0
[INFO] [stderr]    Compiling winit v0.19.5
[INFO] [stderr]    Compiling pistoncore-window v0.44.0
[INFO] [stderr]    Compiling piston-ai_behavior v0.31.0
[INFO] [stderr]    Compiling pistoncore-event_loop v0.49.0
[INFO] [stderr]    Compiling pistoncore-sdl2_window v0.63.0
[INFO] [stderr]    Compiling piston v0.49.0
[INFO] [stderr]    Compiling piston2d-sprite v0.59.0
[INFO] [stderr]    Compiling glutin v0.21.2
[INFO] [stderr]    Compiling pistoncore-glutin_window v0.63.0
[INFO] [stderr]    Compiling piston_window v0.107.0
[INFO] [stderr]    Compiling rcards v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `Iterator`
[INFO] [stdout]  --> src/types.rs:1:43
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::prelude::v1::{Vec, IntoIterator, Iterator};
[INFO] [stdout]   |                                           ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Error`
[INFO] [stdout]  --> src/types.rs:3:27
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::fmt::{Formatter, Error};
[INFO] [stdout]   |                           ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `gfx_device_gl::Texture`
[INFO] [stdout]  --> src/types.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use gfx_device_gl::Texture;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::rc::Rc`
[INFO] [stdout]  --> src/types.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::rc::Rc;
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `piston_window::texture::ImageSize`
[INFO] [stdout]  --> src/types.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use piston_window::texture::ImageSize;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `piston_window::G2dTexture`
[INFO] [stdout]  --> src/types.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use piston_window::G2dTexture;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `DerefMut`, `Deref`
[INFO] [stdout]   --> src/types.rs:11:16
[INFO] [stdout]    |
[INFO] [stdout] 11 | use std::ops::{DerefMut, Deref};
[INFO] [stdout]    |                ^^^^^^^^  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Arc`, `RwLockReadGuard`
[INFO] [stdout]   --> src/types.rs:15:25
[INFO] [stdout]    |
[INFO] [stdout] 15 | use std::sync::{RwLock, Arc, RwLockReadGuard, RwLockWriteGuard};
[INFO] [stdout]    |                         ^^^  ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `sprite::Sprite`
[INFO] [stdout]   --> src/types.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout] 17 | use sprite::Sprite;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Deck`, `Player`
[INFO] [stdout]  --> src/graphic.rs:1:38
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::types::{Game, Card, Suit, Player, Deck, PlayerInteraction};
[INFO] [stdout]   |                                      ^^^^^^  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `sdl2_window::Sdl2Window`
[INFO] [stdout]  --> src/graphic.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use sdl2_window::Sdl2Window;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::convert::Into`
[INFO] [stdout]  --> src/graphic.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::convert::Into;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `UpdateArgs`
[INFO] [stdout]   --> src/graphic.rs:12:21
[INFO] [stdout]    |
[INFO] [stdout] 12 | use piston::input::{UpdateArgs, RenderArgs};
[INFO] [stdout]    |                     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::cell::RefCell`
[INFO] [stdout]   --> src/graphic.rs:18:5
[INFO] [stdout]    |
[INFO] [stdout] 18 | use std::cell::RefCell;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Arc`
[INFO] [stdout]   --> src/graphic.rs:19:17
[INFO] [stdout]    |
[INFO] [stdout] 19 | use std::sync::{Arc, RwLock};
[INFO] [stdout]    |                 ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Deck`
[INFO] [stdout]  --> src/kasino.rs:1:34
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::types::{Game, Player, Deck, PlayerInteraction};
[INFO] [stdout]   |                                  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `piston::input::UpdateEvent`
[INFO] [stdout]  --> src/kasino.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use piston::input::UpdateEvent;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `piston_window::texture::ImageSize`
[INFO] [stdout]  --> src/kasino.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use piston_window::texture::ImageSize;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]  --> src/kasino.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::collections::HashMap;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `uuid::Uuid`
[INFO] [stdout]  --> src/kasino.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use uuid::Uuid;
[INFO] [stdout]   |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::rc::Rc`
[INFO] [stdout]   --> src/main.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | use std::rc::Rc;
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Action`, `Sequence`, `WaitForever`, `Wait`, `While`
[INFO] [stdout]   --> src/main.rs:19:5
[INFO] [stdout]    |
[INFO] [stdout] 19 |     Action,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 20 |     Sequence,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 21 |     Wait,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 22 |     WaitForever,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 23 |     While,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `rectangle_by_corners`, `square`
[INFO] [stdout]   --> src/main.rs:26:27
[INFO] [stdout]    |
[INFO] [stdout] 26 | use graphics::rectangle::{square, rectangle_by_corners};
[INFO] [stdout]    |                           ^^^^^^  ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Deck`
[INFO] [stdout]   --> src/main.rs:27:34
[INFO] [stdout]    |
[INFO] [stdout] 27 | use crate::types::{Game, Player, Deck};
[INFO] [stdout]    |                                  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `TextureKind`
[INFO] [stdout]   --> src/main.rs:28:35
[INFO] [stdout]    |
[INFO] [stdout] 28 | use crate::graphic::{GraphicsEnv, TextureKind, SpriteRef};
[INFO] [stdout]    |                                   ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]   --> src/main.rs:30:5
[INFO] [stdout]    |
[INFO] [stdout] 30 | use std::collections::HashMap;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::path::Path`
[INFO] [stdout]   --> src/main.rs:31:5
[INFO] [stdout]    |
[INFO] [stdout] 31 | use std::path::Path;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `button`
[INFO] [stdout]    --> src/main.rs:125:35
[INFO] [stdout]     |
[INFO] [stdout] 125 |         if let Some(Button::Mouse(button)) = e.press_args() {
[INFO] [stdout]     |                                   ^^^^^^ help: if this is intentional, prefix it with an underscore: `_button`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ge`
[INFO] [stdout]   --> src/graphic.rs:91:17
[INFO] [stdout]    |
[INFO] [stdout] 91 |         let mut ge = {
[INFO] [stdout]    |                 ^^ help: if this is intentional, prefix it with an underscore: `_ge`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `y`
[INFO] [stdout]    --> src/graphic.rs:121:17
[INFO] [stdout]     |
[INFO] [stdout] 121 |         let (x, y) = (size.width, size.height);
[INFO] [stdout]     |                 ^ help: if this is intentional, prefix it with an underscore: `_y`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `deck`
[INFO] [stdout]    --> src/graphic.rs:132:13
[INFO] [stdout]     |
[INFO] [stdout] 132 |         let deck = {
[INFO] [stdout]     |             ^^^^ help: if this is intentional, prefix it with an underscore: `_deck`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function cannot return without recursing
[INFO] [stdout]    --> src/types.rs:266:5
[INFO] [stdout]     |
[INFO] [stdout] 266 |     fn remove(&mut self, card: &Card) {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot return without recursing
[INFO] [stdout] 267 |         self.remove(card);
[INFO] [stdout]     |         ----------------- recursive call site
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unconditional_recursion)]` on by default
[INFO] [stdout]     = help: a `loop` may express intention better if this is on purpose
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/graphic.rs:91:13
[INFO] [stdout]    |
[INFO] [stdout] 91 |         let mut ge = {
[INFO] [stdout]    |             ----^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/graphic.rs:98:21
[INFO] [stdout]    |
[INFO] [stdout] 98 |                 let mut sprite = Sprite::from_texture(back.clone());
[INFO] [stdout]    |                     ----^^^^^^
[INFO] [stdout]    |                     |
[INFO] [stdout]    |                     help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/graphic.rs:110:21
[INFO] [stdout]     |
[INFO] [stdout] 110 |                 let mut sprite = Sprite::from_texture(back.clone());
[INFO] [stdout]     |                     ----^^^^^^
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0596]: cannot borrow `self.interactions` as mutable, as it is behind a `&` reference
[INFO] [stdout]    --> src/kasino.rs:104:17
[INFO] [stdout]     |
[INFO] [stdout] 73  |     pub fn try_to_intent(&self) -> Result<(), IntentError> {
[INFO] [stdout]     |                          ----- help: consider changing this to be a mutable reference: `&mut self`
[INFO] [stdout] ...
[INFO] [stdout] 104 |                 self.interactions.clear();
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^ `self` is a `&` reference, so the data it refers to cannot be borrowed as mutable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error; 35 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0596`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rcards`
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `Command { std: "docker" "inspect" "000d1b49e8b093be2df4537625149588323757bd4340aeb5543cd9c8edb02aed", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "000d1b49e8b093be2df4537625149588323757bd4340aeb5543cd9c8edb02aed", kill_on_drop: false }`
[INFO] [stdout] 000d1b49e8b093be2df4537625149588323757bd4340aeb5543cd9c8edb02aed
